package com.itheima.exerciseTest.test10_19;

public class Test11 {
    public static void main(String[] args) {
        Outer.method().show();
    }
}

interface Inter {
    void show();
}

class A implements Inter{
    public void show(){
        System.out.println("HelloWorld");
    }
}

class Outer {
    public static Inter method(){
        return new A();
    }
}